package com.bnz.service;

import com.bnz.entity.Student;
import com.bnz.vo.StuVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StudentService {
    List<Student> findAll();

    int deleteById(int id);

    int modifyById(Student student);

    int addStudent(Student student);

    Student queryById(int id );

    PageInfo<Student> queryByPage(StuVo student, int pageNo, int pageSize);
}
